package com.xd.core.finance.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName PlatformRecordsVo
 * @Description 平台提现记录返回vo
 * @Author Zch
 * @Date 2025/8/5 星期二 14:06
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PlatformRecordsVo {

    @ApiModelProperty(value = "交易时间")
    @ExcelProperty(value = "交易时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date recordTime;

    @ApiModelProperty(value = "交易单号")
    @ExcelProperty(value = "交易单号")
    private String orderNo;

    @ApiModelProperty(value = "交易金额")
    @ExcelProperty(value = "交易金额")
    private BigDecimal realAmount;

    @ApiModelProperty(value = "交易类型(暂时只有提现)")
    @ExcelProperty(value = "交易类型")
    private String type;

    @ApiModelProperty(value = "交易状态(1-交易中，2-交易成功，3-交易失败)")
    @ExcelIgnore
    private String status;

    @ApiModelProperty(value = "交易状态(1-交易中，2-交易成功，3-交易失败)")
    @ExcelProperty(value = "交易状态")
    private String statusRemark;

    @ApiModelProperty(value = "提现账户号")
    @ExcelProperty(value = "提现账户号")
    private String toAccNoBaofu;

    @ApiModelProperty("提现账户开户行")
    @ExcelProperty("提现账户开户行")
    private String toBankNameBoafu;

}
